home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / MorphOS / Epic4_mos / share / epic / help / 6_functions / chanmode < prev    next >
Encoding:
Text File  |  2002-10-28  |  1.0 KB  |  29 lines

  1. Synopsis:
  2.    $chanmode(<channel>|* [<channel> ...])
  3.  
  4. Technical:
  5.    This function is used to retrieved the current channel mode for the given
  6.    channel.  If no channel, or a "*", is given, the current is assumed.  You
  7.    must be on the channel specified for it to function properly.  Multiple
  8.    channels may be specified.
  9.  
  10. Practical:
  11.    You give it a list of channels you want to know the channel mode for, and
  12.    it returns the modes on that channel.  Of course, you have to be on the
  13.    channel for it to make any sense.  You can use an asterisk ('*') to stand
  14.    for the current channel.  If you don't specify any arguments, the current
  15.    channel is assumed.
  16.  
  17. Returns:
  18.    modes for specified channels
  19.  
  20. Examples:
  21.    $chanmode(#blah)             returns modes for #blah
  22.    $chanmode(#foo #bar)         returns modes for #foo and #bar
  23.    $chanmode(*)                 returns modes for current channel
  24.    $chanmode()                  returns modes for current channel too
  25.  
  26. See also:
  27.   key(6); mode(1); onchannel(6)
  28.  
  29.